-
-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified the movefocus
dispatcher to prioritize focus change within groups.
#8601
base: main
Are you sure you want to change the base?
Conversation
|
This doesn't seem to work. once the focus gets into a grouped window tab, it doesn't reach out to other windows/groups at all. It keeps cycling between tabs of the same group. 2024-11-29.17-30-02.mp4It should jump into other windows at the end of the tabs like this: out.mp4This video demonstrates this patch. My bindings in this video are:
I built and ran the main branch and my branch separately to demonstrate |
should be an option, some people might not like this |
how about another dispatcher, like |
I was thinking about simply a bool flag in binds: |
added bool option variable sorry for delay. PR for docs: hyprwm/hyprland-wiki#900 |
Describe your PR, what does it fix/add?
It modifies the
movefocus
dispatcher logic to switch directional focus within groups first:movefocus l/r
can now be used to switch tabs within the Groupmovefocus u/d
is pressed, then the usual directional focus logic applies.In other words, a sideways directional focus change is prioritized within groups first.
How I think it benefits users?
movefocus
dispatcher to be followed within groups as it does in other window managers. I felt locked out of tabbed groups and never really used them because of this.changegroupactive
along withmovefocus
as they require separate keybinds which do not conflict.i3
)mod h/j/k/l
withmovefocus l/r/u/d
is intuitive for groups too.Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
I haven't found any bugs. It works as per the logic described above.
Is it ready for merging, or does it need work?
I have tried with all kinds of group orientations and it works good. It is a single block of 13 lines and could be merged as-is. :)